import * as mongoose from 'mongoose'

export const InformationSchema = new mongoose.Schema(
    {
       
        name: String,
        
        theme: String,
        
        author: String,
        
        keyword: String,
        
        targ: String,
        
        collect: Boolean,
        
        time: String,
        
        userId: String,

        status: Number,

        files: Array
    },
    { collection: 'informations', versionKey: false },
)